[.config_load file="../../config/emmm.conf".]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>[.$emmm_adminfont.admintitle.]</title>
<link href="templates/images/emmm_login.css" rel="stylesheet" type="text/css"> 
[.#jq172#.]
<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(m,n){
 var tli=document.getElementById("menu"+m).getElementsByTagName("li");
 var mli=document.getElementById("main"+m).getElementsByTagName("ul");
 for(i=0;i<tli.length;i++){
  tli[i].className=i==n?"hover":"";
  mli[i].style.display=i==n?"block":"none";
 }
}
//-->
</script>

</head>

<body>
<div style="height:50px;"></div>
<div style="clear:both"></div>
<div id="tabs0">
 <ul class="menu0" id="menu0">
  <li onclick="setTab(0,0)" class="hover">可用插件列表</li>
  <li onclick="setTab(0,1)">安装新插件</li>
 </ul>
 <div class="main" id="main0" style="border-top:2px #488fcd solid; clear:both;">
  <ul class="block">
	  <li>
		<div class="emmm_newslist">
		        <form id="form2" name="form2" method="post" action="?emmm_cms=Batch">
		        <table width="100%" border="0" cellpadding="10" class="emmm_newslist">
                  <tr>
				 	<td width="5%" bgcolor="#EBEBEB"><div align="center">ID</div></td>
				  	<td width="18%" bgcolor="#EBEBEB">插件名称</td>
                    <td width="12%" bgcolor="#EBEBEB">插件版本</td>
                    <td width="10%" bgcolor="#EBEBEB">作者</td>
					<td width="30%" bgcolor="#EBEBEB">插件介绍</td>
                    <td width="15%" bgcolor="#EBEBEB">安装时间</td>
					 <td width="10%" bgcolor="#EBEBEB">操作</td>
                  </tr>
				  [.section loop=$Pluslist name=op.]
                  <tr>
				 	 <td><div align="center"><font style="background:#009933; color:#FFFFFF; padding:2px; text-align:center;">[.$Pluslist[op].id.]</font></div></td>
				  	<td>[.$Pluslist[op].name.]</td>
                    <td>[.$Pluslist[op].version.]([.$Pluslist[op].versiondate.])</td>
                    <td>[.$Pluslist[op].author.]</td>
					<td>[.$Pluslist[op].about.]</td>
					<td>[.$Pluslist[op].time.]</td>
                    <td>

					[.if strstr($Pluslist[op].pluspath,'.php').]
					<a href="../plus/[.$Pluslist[op].pluspath.]">管理</a>
					&nbsp;&nbsp;&nbsp;&nbsp;
					[./if.]
					
					<a href="emmm_plug.php?id=[.$Pluslist[op].id.]&off=1&emmm_cms=edit" onclick="javascript:return confirm('确认卸载吗?卸载以后，表内数据会被清空哦！')"><font color="red">[卸载]</font></a>
					</td>
                  </tr>
				  [.sectionelse.]
				  <tr>
                    <td colspan="7">[.$emmm_access.]</td>
                  </tr>
				  [./section.]
                  <tr>
                    <td colspan="7">[.$emmmpage.]</td>
                  </tr>
                </table>
                </form>
        </div>
	  </li>
  </ul>
  <ul>
	  <li>
		        <table width="100%" border="0" cellpadding="10" class="emmm_newslist">
                  <tr>
				  	<td width="70%" bgcolor="#EBEBEB">插件名称及简介</td>
                    <td width="30%" bgcolor="#EBEBEB">安装?</td>
                  </tr>
				  [.section loop=$Addpluslist name=op.]
                  <tr>
				  	<td>[.$Addpluslist[op].author.]</td>
					<td><a href="[.$Addpluslist[op].url.]/emmm_[.$Addpluslist[op].name.].php">【安装】</a></td>
                  </tr>
				  [.sectionelse.]
				  <tr>
                    <td colspan="2">[.$emmm_access.]</td>
                  </tr>
				  [./section.]
                </table>
	  </li>
  </ul>
 </div>
</div>
[.include file="emmm_foot.html".]
</body>
</html>